<%@ page language="java" import="nc.bs.ebvp.login.Constant"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<%
			String basepath = request.getContextPath();
			String backurl = (String)session.getAttribute(Constant.JSP_URL);
		%>
		<title>修改个人信息</title>

		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">
		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
		<meta http-equiv="description" content="This is my page">
		<link href="<%=basepath%>/css/account.css" rel="stylesheet"
			type="text/css" />
		<script language="javascript" type="text/javascript" src="<%=basepath%>/js/include.js"></script>
		<script language="javascript" type="text/javascript" src="<%=basepath%>/js/register.js"></script>
		<script src="<%=basepath%>/js/jquery-1.4.4.js" type="text/javascript"></script>
		<script language="javascript" type="text/javascript" src="<%=basepath%>/js/common.js"></script>
		<script type="text/javascript">
			jQuery(document).ready(
				function(){
					//性别
					initselect("gender",'${currentInfo.gender}');				
				}
			)
		
			function backurl(){
				var from=${src};
				var url ="";
				if(from==1){
					url = "<%=basepath%>/register/suppnoPass";
				}else if(from==2){
					url = "<%=basepath%>/register/suppNotCheckPass";
				}	
				location.href = url;
			}
		</script>
		<style type="text/css">
.mycolor {
	color: #FF0000;
}
.textinput
{
    color:#333333;
    width:70%;
    border:1px solid #33333;
}
.buttonok
{
    border:0px;
    width:60px;
    height:23px;
    /*background-color:Black;*/
    background-image: url('<%=basepath%>/images/common/button1s1.png');
    color:#ffffff;
    font-size:12px;
}
.buttonok:hover
{
    background-image: url('<%=basepath%>/images/common/button3s1.png');
}
</style>
	</head>
	<body class="fullbody">
		<form action="<%=basepath%>/register/nopassUserinfoCommit" method="post" onsubmit="return changeuserinfo();">
				<div id="process" class="processdiv">
				<div class="margin30A"></div>
				<div class="margin30"></div>
				<input type="hidden" name="src" value="${src}"/>
			</div>
			<div id="content" class="content">
				<div class="">
					<b class="rtop"><b class="r1"></b><b class="r2"></b><b
						class="r3"></b><b class="r4"> </b> </b>
					<table cellpadding="0" cellspacing="0" border="0" width="980">
						<tr>
							<td class="leftmargin"></td>
							<td valign="top" align="left">
								<table cellpadding="0" cellspacing="0" border="0" width="920">
									<tr class="title">
										<td colspan="4">
											个人信息修改
										</td>
									</tr>
									<tr class="inputrow">
										<td align="right">
											联系人：
										</td>
										<td>
											<input type="hidden" name="pk_supinfocheck_h" value="${currentInfo.pk_supinfocheck_h}"/>
											<input type="hidden" name="pk_suplinkman" value="${currentInfo.pk_suplinkman}"/>
											<input type="hidden" name="pk_linkman" value="${currentInfo.pk_linkman}"/>
											<input type="text" class="textinput" name="linkman"
													value="${currentInfo.linkman}" />
											<span class="needfill">*</span>
										</td>
										<td>
										</td>
									</tr>
									<tr class="inputrow">
										<td align="right">
											职位：
										</td>
										<td>
											<input type="text" class="textinput" name="position"
													value="${currentInfo.position}" />
											<span class="needfill">*</span>
										</td>
										<td>
										</td>
									</tr>
									<tr class="inputrow">
										<td align="right">
											手机：
										</td>
										<td>
											<input type="text" class="textinput" name="mobile"
													value="${currentInfo.mobile}" />
											<span class="needfill">*</span>
										</td>
										<td>
										</td>
									</tr>
									<tr class="inputrow">
										<td align="right">
											性别：
										</td>
										<td>
											<select id="gender" name="gender" class="textstyle">
													<option value="1">
														男
													</option>
													<option value="2">
														女
													</option>
												</select>
											<span class="needfill">*</span>
										</td>
										<td>
										</td>
									</tr>
									<tr class="inputrow">
										<td align="right">
											 公司固定电话：
										</td>
										<td>
											<input type="text" class="textinput" name="tel"
													value="${currentInfo.tel}" />
											<span class="needfill">*</span>
											<span class="memoFont">加区号</span>
										</td>
										<td>
										</td>
									</tr>
									<tr class="inputrow">
										<td align="right">
											电子邮箱：
										</td>
										<td>
											<input type="text" class="textinput" name="linkemail"
													value="${currentInfo.linkemail}" />
											<span class="needfill">*</span>
										</td>
										<td>
											<div id="Div1" class="message">
												此邮箱用于接收采购方发送的信息，请谨慎选择并牢记邮箱地址
											</div>
										</td>
									</tr>
								</table>
							</td>

						</tr>
						<tr>
							<td colspan="4">
								<table align="left">
									<tr class="title">
										<td>
											<div id="message" class="mycolor">
												<c:out value="${ERROR_MESSAGE}" />
											</div>
										</td>
									</tr>
								</table>
							</td>
						</tr>
					</table>

					<div class="margin30">
					</div>
					<div>
						<input type="submit" class="buttonok" value="确认" />
						&nbsp;&nbsp;
						<input type="button" class="buttonok" onclick="backurl();" value="返回" />
					</div>
					<div class="margin70">
					</div>
					<b class="rbottom"><b class="r4"></b><b class="r3"></b><b
						class="r2"></b><b class="r1"> </b> </b>
				</div>
			</div>
		</form>
	</body>
</html>
